//
//  SIMBaseSearchBar.h
//  SecurityInformationManagement
//
//  Created by Hayder on 2020/12/5.
//  Copyright © 2020 codeDog. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol HHBaseSearchBarDelegate <NSObject>

- (void)didClickSearchBtn:(NSString *)searchText;

- (void)seachBarDidEditing:(NSString *)searchText;
@end

@interface HHBaseSearchBar : UIView

@property (nonatomic, strong) UIButton *searchBtn;

@property (nonatomic, strong) UIView *bgView;

@property (nonatomic, strong) UITextField *textField;

@property(nonatomic, weak) id<HHBaseSearchBarDelegate> delegate;

@end

NS_ASSUME_NONNULL_END
